//
//  Config.h
//  PatientNew
//
//  Created by xxx on 14-7-11.
//  Copyright (c) 2014年 wtf. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DDXML.h"

@interface Config : NSObject

// file name
#define kConfigFileName @"config"
#define kConfigFileType @"xml"

// xml nodes
#define kXMLNodeNameConfigBaseUrl        @"baseUrl"
#define kXMLNodeNameConfigSecuredBaseUrl @"securedBaseUrl"
#define kXMLNodeNameConfigChannel        @"channel"
#define kXMLNodeNameConfigRequests       @"requests"
#define kXMLNodeNameConfigRequest        @"request"

@property (nonatomic, strong) NSString *baseUrlString;
@property (nonatomic, strong) NSString *securedBaseUrlString;
@property (nonatomic, strong) NSString *channel;

@property (nonatomic, strong) NSMutableDictionary *requests;

+ (Config *)standardConfig;

@end
